@charset "UTF-8";
:root {
  --main-color: #ffeba7;
  --text-color: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
  font-family: sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #e8e8e8;
}

.card {
  width: 220px;
  height: calc(220px * 1.4);
  padding: 1.9rem 1.2rem;
  text-align: center;
  border-radius: 8px;
  background-color: #2a2b38;
}

.field {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .5rem .1rem;
  border-radius: 4px;
  background-color: #1f2029;
}

.input-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--main-color);
}

.input {
  width: 100%;
  color: #d3d3d3;
  outline: none;
  border: none;
  background: none;
}

.title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.btn {
  margin: 1rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: .8rem;
  text-transform: uppercase;
  padding: .6rem 1.2rem;
  color: #5e6681;
  background-color: var(--main-color);
  box-shadow: 0 8px 24px 0 rgb(255, 235, 167 / 20%);
  transition: .3s all ease-in-out;
}

.btn-link {
  display: block;
  font-size: .75rem;
  text-decoration: none;
  color: var(--text-color);
  transition: .3s color ease-out;
}

.field input:focus::placeholder {
  opacity: 0;
  transition: opacity .3s;
}

.btn:hover {
  background-color: #5e6681;
  color: var(--main-color);
  box-shadow: 0 8px 24px 0 rgb(16, 39, 112 / 20%);
}

.btn-link:hover { color: var(--main-color); }
